import request from '@/utils/requset'

export default {
  //听单下的分类列表
  reqCategories() {
    return request.get<any, any>(`/revision/subject/category`)
  },
  //某个分类的听单列表
  reqDetail(title: string, pageNum: number, pageSize: number) {
    return request.get<any, any>(`/revision/subject/categorySubjectList/${title}?pageNum=${pageNum}&pageSize=${pageSize}`)
  }
}
